WP_Defender\Component\IP\Global_IP A

Total Complexity 63
Dependencies 5
Dependents 5
Total lines 382
Lines of code 207
Logical lines of code 98
Comment lines 95
Methods 18
Properties 5

Methods 18

Method Rating Maintainability Complexity Lines of code
set_global_ip_list()
A
43 13 51
fetch_global_ip_list()
A
47 11 38
is_show_dashboard_notice()
A
57 9 15
get_formated_global_ip_list()
S
56 7 18
add_to_global_ip_list()
S
49 6 32
can_blocklist_autosync()
S
71 4 6
init()
S
69 2 6
delete_dashboard_notice_reminder()
S
81 1 3
get_dashboard_notice_reminder()
S
79 1 3
fetch_global_ip_list_updated_time()
S
67 1 9
__construct()
S
73 1 5
is_blocklist_autosync_enabled()
S
82 1 3
is_global_ip_enabled()
S
82 1 3
is_ip_blocked()
S
79 1 3
is_ip_allowed()
S
79 1 3
block_list()
S
82 1 3
allow_list()
S
82 1 3
get_global_ip_list()
S
80 1 3